<template>
  <view>
    我是这个商品的详情页，我的goods_id是{{goodsId}}
  </view>
</template>

<script>
  export default {
    data() {
      return {
        goodsId:''
      }
    },
		// 获取轮播图传过来的参数
		onLoad(options) {
				console.log(options.goods_id)
				this.goodsId=options.goods_id
		},
		methods:{
			show(){
				console.log(2)
			}
		}
	
  }
</script>

<style lang="scss">

</style>
